package com.integration.maven.service2controllerProcessor.annotation;



import org.springframework.core.annotation.AliasFor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.lang.annotation.*;

@Repeatable(value = Exposes.class)
@Target({ElementType.METHOD})// 作用域字段上
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Expose {

    ApiTypeEnum type();

    // 接口名称
    String desc() default "";

    // 对应的菜单
    Menu[] menu() default Menu.nil;



    String name() default "";

    String[] value() default {};

    String[] path() default {};

    RequestMethod[] method() default {};

    String[] params() default {};

    String[] headers() default {};

    String[] consumes() default {};

    String[] produces() default {};
}
